package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 kqyt_patieninfo
 * 
 * @author ruoyi
 * @date 2024-05-29
 */
public class KqytPatieninfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 病人编号 */
    private Integer No;

    /** 病人名字 */
    @Excel(name = "病人名字")
    private String Name;

    /** 病人性别 */
    @Excel(name = "病人性别")
    private String Sex;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String Phonenumber;

    /** 病人住址 */
    @Excel(name = "病人住址")
    private String Address;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date Birthdate;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date Datetime;

    public void setNo(Integer No) 
    {
        this.No = No;
    }

    public Integer getNo() 
    {
        return No;
    }
    public void setName(String Name) 
    {
        this.Name = Name;
    }

    public String getName() 
    {
        return Name;
    }
    public void setSex(String Sex) 
    {
        this.Sex = Sex;
    }

    public String getSex() 
    {
        return Sex;
    }
    public void setPhonenumber(String Phonenumber) 
    {
        this.Phonenumber = Phonenumber;
    }

    public String getPhonenumber() 
    {
        return Phonenumber;
    }
    public void setAddress(String Address) 
    {
        this.Address = Address;
    }

    public String getAddress() 
    {
        return Address;
    }
    public void setBirthdate(Date Birthdate) 
    {
        this.Birthdate = Birthdate;
    }

    public Date getBirthdate() 
    {
        return Birthdate;
    }
    public void setDatetime(Date Datetime) 
    {
        this.Datetime = Datetime;
    }

    public Date getDatetime() 
    {
        return Datetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("No", getNo())
            .append("Name", getName())
            .append("Sex", getSex())
            .append("Phonenumber", getPhonenumber())
            .append("Address", getAddress())
            .append("Birthdate", getBirthdate())
            .append("Datetime", getDatetime())
            .toString();
    }
}
